package com.imooc.filter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 啊昌
 * @date 2025/9/12 23:07
 * ExcludeUrlProperties 读取本地文件获取到对应的白名单
 */
@Component
@Data
@PropertySource("classpath:excludeUrlPath.properties")
@ConfigurationProperties(prefix = "exclude")
public class ExcludeUrlProperties {
	private List<String> urls; // 放行地址的白名单
	private String fileStart; // 静态资源
}
